-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(terraform): run tests for multiple tf versions #4381
Conversation
948b096
to
08f0ef2
Compare
Co-authored-by: Steffen Neubauer <[email protected]>
Co-authored-by: Steffen Neubauer <[email protected]>
All of the terraform-plugin tests pass now locally 🎉 Will look into the CI issue soon. We should probably do another round of refactoring to clean these tests up (possibly in another PR). They have accumulated incremental changes over time and there's quite a lot of clashing between global and local variables. That was a major contributor to why fixing the tests (and understanding them in their broken state) took such a long time. Additionally, work on this PR uncovered this issue in our |
Blocked by #4467 |
based on the feedback provided at #4457 (comment)
other unrelated tests were depending on the specific behavior. we can always come back to refactor further.
24446c1
to
4334ce9
Compare
All of the
The I suggest we review and merge this PR as-is, to unblock other work (including other plugin test fixes which depend on this PR) and fix the corruption bug separately. |
The tests have been fixed and they pass locally. These tests fail in CI because of #4467 Temporarily skipping these tests in order to unblock other PRs for the other plugins and fixing their test setups, while keeping our CI green for the test-plugins step.
I have now added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some small comments and questions
plugins/terraform/test/test-project-action/tf/.terraform.lock.hcl
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 🎉
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #4507
Special notes for your reviewer:
See comment thread below - this turned out to have a bit of complexity in it and spawned some new follow-up issues.